/**
 * article模块接口列表
 */

import base from '../base' // 导入接口域名列表
import axios from '@/common/utils/http' // 导入http中创建的axios实例
import qs from 'qs'

const report = {
  // 报告
  /**
   * @param {Object} params - {receiver, recaptcha_response}
   * */
  // 订单
  reportList (params) {
    return axios.get(`${base.gene}/report/reports/`, {
      params: params
    })
  },
  reportDetail (id, params) {
    return axios.get(`${base.gene}/report/reports/${id}/`, {
      params: params
    })
  }
}

export default report
